<?php
/*
  $Program: ECJC Online Shop
  $Id: faqs.php
  $Based on: osCommerce, Open Source E-Commerce Solutions
  Released under the GNU General Public License
*/
  defined( 'JOSCOM_VERSION' ) or die( 'Direct Access to this location is not allowed.' );
  if (!($acl->acl_check( 'administration', 'edit', 'users', $my->usertype, 'components', 'all' )
  | $acl->acl_check( 'administration', 'edit', 'users', $my->usertype, 'components', 'com_banners' ))) {
    //j15nc
  }
  if (defined( '_OSCOMMERCE_LOADED' )) {
    if (!DB_SHARED) {
      tep_db_connect() or die('Unable to connect to database server!');
    }
    global $category_links, $languages_id, $cPath, $cPath_array, $current_category_id;
    global $request_type, $lng, $cart, $currencies, $language, $navigation, $breadcrumb;
  } else {
    require(DIR_WS_COMPONENT . 'includes/application_top.php');
  }
?>
<?php include(DIR_WS_COMPONENT . 'includes/header.php'); ?>
<link rel="stylesheet" type="text/css" href="<?php echo DIR_WS_COMPONENT ?>includes/stylesheet.css">

 <table width="100%" border="0" cellpadding="4" cellspacing="0"  class="adminlist">
  <tr>
 <table width="100%" class="adminheading"><tr> <th class="config">Important Info and Install FAQ</th></tr>
                <tr><td align="center">
<?php // -- Start new FAQ Item   ?>		
				<div class="hide_templatemod"><font color="red" font size="1.5">**IMPORTANT -- Click here to expand**<br><font color="black" font size="1.25"> The following modification is required to any <strong>joomla 1.0.XX</strong> template that you use:</div><br>
<div class="show_templatemod">
	<div>
		<B><font color="red">The following modification is required to any joomla <strong>1.0.xx</strong> template that you use:</font><br><br>Open the index.php file of the template you are using:</b><br>
                this can be done either via ftp or using joomla go to Site, Template Manager, Site Templates.<br><br>
                at the top you should find a line as follows:<br>
                <B>defined( '_VALID_MOS' ) or die( 'Restricted access' );</b><br><br>
                
                Directly below that line put the following lines:<br>
                </b><textarea rows=4 cols=65">if ($_REQUEST['option'] != 'com_oscommerce') {
				include('components/com_oscommerce/includes/application_top.php');
				}
</textarea><br><br>This is required for the store session to be started on non-store pages so that the modules show correctly on those pages.  Not making this change will cause errors on those pages.
	</div>
</div><br>
<?php // -- Start new FAQ Item   ?>
<div class="hide_templatemod"><font color="blue" font size="1">*Expand Item* SEO:</div>
<div class="show_templatemod">
	<div>
		<B><font color="black" font size="1.5"><?php echo MOSCOM_VERSION ?> was tested to run with Artio SEF 1.5.1, if you experience errors with SEO turned on (by default) and do not have Artio installed.  Please disable SEO under 'Configuration' -> 'MyStore' -> 'Use Search-Engine Safe URLs (still in development)' ... by setting this to 'False'<br>
			You will find the SEF extension available for purchase in the store section. Update: 1.1.99 - Added SEO for sh404SEF.
	</div>
</div>
<?php // -- Start new FAQ Item   ?>
<div class="hide_templatemod"><font color="blue" font size="1">*Expand Item* Intial Setup:</div>
<div class="show_templatemod">
	<div>
		<B><font color="black" font size="1.5">By default the vendor module is set to a generic setup, please modify this in 'Catalog' -> 'Vendor Manager' if you plan to use Vendor Shipping.  Additionally other options will need to be set under 'Configuration' -> 'Shipping & Packaging'<p>
		Please setup taxes, you will need to configure each option under 'Localization' -> 'Tax Zones', 'Tax Classes', and 'Tax Rates'.  Once set go back to 'Tax Zones' and click on your zone that have you setup, then 'Details' -> 'Edit' and update the zone to your state.  Taxes will not work correctly unless this is done.<p>
		Whishlist email functions require that html emails be set to true, you can do this under 'Configuration', 'Email Options'.<p>
		Please setup the various options under 'My Store', if you are not certain what does what, please search the forums at <a href="http://www.joomla-host.co.za/forum.html" target="_blank"> Joomla-Host</a> Or ask the community for assistance. 
	</div>
</div>
<?php // -- Start new FAQ Item   ?>
<div class="hide_templatemod"><font color="blue" font size="1">*Expand Item* Setting up ECJC to run SSL:</div>
<div class="show_templatemod">
	<div>
		<B><font color="black" font size="1.5">ECJC runs well with J1.0.13 in SSL, you need to do a few things to make this happen.<br>
		To get the catalog running in SSL open your 'components/com_oscommerce/includes/configure.php' file.<p>
		Find:<br>		
		<textarea rows=2 cols=65">// Enable Secure SSL for Catalog
    define('ENABLE_SSL',              false);
        </textarea><br>
		Replace with:<br>
		<textarea rows=2 cols=65">// Enable Secure SSL for Catalog
    define('ENABLE_SSL',              true);
        </textarea><p><p>
		Almost done, now for the admin side of things.<br>
		Goto 'administrator/components/com_oscommerce/includes/configure.php' file.<p>
		Find:<br>		
		<textarea rows=4 cols=75">// This is the URL of your ADMIN webserver
    define('HTTP_SERVER',               'http://' . $http_server);
    define('HTTPS_SERVER',               'https://' . $http_server);
        </textarea><br>
		Replace with:<br>
		<textarea rows=4 cols=75">// This is the URL of your ADMIN webserver
    define('HTTP_SERVER',               'https://' . $http_server);
    define('HTTPS_SERVER',               'https://' . $http_server);
        </textarea><p><p>
		Now when you log into ECJC from Joomla it will switch to SSL, in most cases Joomla will log you out and you will need to login again to stay in SSL.  You can modify the Joomla files to automatically load in SSL,
		or you can simply set a bookmark in your browser that points to https://www.yoururl.com/administrator/index.php for example. 
	</div>
</div>
<?php // -- Start new FAQ Item   ?>
<div class="hide_templatemod"><font color="blue" font size="1">*Expand Item* Setting up Paypal to process live transactions:</div>
<div class="show_templatemod">
	<div>
		<B><font color="black" font size="1.5">To get the paypal module working outside of testmode/sandbox.<br>
		Open: 'components/com_oscommerce/includes/modules/payment/paypal.php'<br>
		Then find line line 32:<br>
		<textarea rows=3 cols=85">// $this->form_action_url = 'https://secure.paypal.com/cgi-bin/webscr';
     $this->form_action_url = 'https://www.sandbox.paypal.com/cgi-bin/webscr';
    }
        </textarea><br>
		Replace with:<br>
		<textarea rows=3 cols=85">$this->form_action_url = 'https://secure.paypal.com/cgi-bin/webscr';
     //$this->form_action_url = 'https://www.sandbox.paypal.com/cgi-bin/webscr';
    }
        </textarea><p>
	</div>
</div>
<?php // -- Start new FAQ Item   ?>
<div class="hide_templatemod"><font color="blue" font size="1">*Expand Item* Optional:</div>
<div class="show_templatemod">
	<div>
		<B><font color="black" font size="1.5">ECJC has from V1.1.96a the ability to automate a few of the mundane tasks<br>
		The url shown next to the description is the url the cron should run...(all frontend, not admin)<p>
		<b>Currency update :</b> index.php?option=com_oscommerce&osMod=currencies_batch_update<p>
		<b>Subsription automation:</b> index.php?option=com_oscommerce&osMod=subscription_automation<p>
		<br>Also for google optimization point google to the following two urls<br>
		*Your URL here/* index.php?option=com_oscommerce&osMod=googlexmlcat<br>
		*Your URL here/* index.php?option=com_oscommerce&osMod=googlexmlprod<p>
		Go to Google's Webmaster section to point google to one of the above urls (or both!).<br>
		<a href="https://www.google.com/webmasters/tools/" target="_blank">Click here to go directly to the correct Google page.</a>
	</div>
</div>
<?php // -- Start new FAQ Item   ?>
<div class="hide_templatemod"><font color="red" font size="1.25">IMPORTANT<br>
		<font color="blue" font size="1.1"> Check for Bug Fixes or Report a bug:</div>
<div class="show_templatemod">
	<div>
		<B><font color="black" font size="1.5">If you see a bug please check the forums, if a fix is not listed please let us know about it.<br>
		We hope that you will find this version of ECJC as bug free as possible, but we need your help to make future versions even better.<br>
		<a href="http://www.joomla-host.co.za/ECJC-Online-Shop/" target="_blank">Click here to go directly to the correct ECJC forum page.</a><p><p>
		Additionally, your input is valuable, if you know of a new feature that should be considered please post it on the wishlist forums to be considered for future versions.<br>
		Or jump in and start building your own additions, you will find that most osCommerce contribs can be ported over with not too much effort.
		You can share what you have done on the forums as well, or see what others have done.  Enjoy using ECJC!!
	</div>
</div>

<div class="hide_templatemod">
		<font color="blue" font size="1.1"> Video Preview:</div>
<div class="show_templatemod">
	<div>
		<B><font color="black" font size="1.5">To add a video preview item, you will need to encode it first into 
		 Flv (Flash Video) We suggest you get the Riva FLV Encoder at : http://download.rivavx.de/RivaEncoderSetup.exe
		 
		 </font>

	</div>
</div>
</tr>


<tr>
      <th>Thank You to the following people</th>
      </tr>
      <tr>
      <td><ul>
     <li> John Mueller - <a href="http://www.gofuntoys.com/index.php" target="_new">FUNtastical Toys</a>
     <li> Janet Smith - <a href="http://www.shopinlight.com" target="_new">Shop in Light</a>
     <li> LeeAnne Smith - <a href="http://www.ecddesigns.co.za" target="_new">Enchanted Creative Designs</a>
     <li> Ken Lyle - <a href="http://nextwavetech.us/" target="_new">Next Wave</a>
     <li> Virtual Card Services = <a href="http://www.vcs.co.za" target="_new">VCS.co.za</a>
     <li> Observative - <a href="http://www.smbosa.com" target="_new">Paypal IPN </a>
     <li> Matthew Midgett - <a href="http://www.wickedperformance.biz" target="_new">Forums Support and testing</a>
     
</ul>
      </td>
      </tr>
 </td>
   </table>
 </td>     
      </tr>
      <tr>
        <td><?php require(DIR_WS_INCLUDES . 'footer.php'); ?></td>
      </tr>
      
    </table></td>
  </tr>
</table>
<?php
  require(DIR_WS_INCLUDES . 'application_bottom.php');
  // -- webMS Modification --
  // reset the Mambo Database connection (stomped by osCommerce Connection)
  if (!DB_SHARED) {
    global $database, $mosConfig_host, $mosConfig_user, $mosConfig_password, $mosConfig_db, $mosConfig_dbprefix;
    $database = new database( $mosConfig_host, $mosConfig_user, $mosConfig_password, $mosConfig_db, $mosConfig_dbprefix );
  }
?>
